home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-1.iso / Files / Util / A / ADBManager 1.02.sit / ADB Manager ƒ / ADBManager Doc (Text) < prev    next >
Encoding:
Text File  |  1994-01-14  |  9.9 KB  |  141 lines  |  [TEXT/MSWD]

  1. ADB Manager  Copyright © 1993, Klaus Berkling    1
  2.  
  3.  
  4.  
  5.  
  6. ADB Manager
  7. Copyright © 1993, Klaus Berkling
  8.  
  9.  
  10.  
  11.  
  12. The ADBManager will let you selectively disable and re-enable ADB devices.  This application is useful if you have conflicting ADB devices.  I use this application to disable my joystick when I am not using it with my flight simulator; this way I don't have to power-down the CPU to unplug it.  The device is effectively turned off by setting its service routine pointer and data pointer to 0 (or NIL/NULL for you programmers).  An additional extension (startup document) can be used to disabled ADB devices when the CPU is booted.
  13.  
  14. The Inside Macintosh manuals recommend against adding any ADB devices to the bus while the CPU is on.  If you have been adding and removing devices to and from your desktop bus the time has come for you to use the ADBManager. Connect all your devices and disable the devices not used with the ADBManager.  This application does not allow you to add more than the number of devices specified for your particular Macintosh model.
  15.  
  16.  
  17. Requirements:
  18.  
  19. This program requires an Apple Desktop Bus,  the Macintosh SE and all newer Macintoshes have this desktop bus, it’s the port into which you plug your mouse and keyboard(s).
  20.  
  21. ADBManager currently requires System 6.0.4 or higher. The tested Macintosh models are a IIci, IIsi, IIx, IIfx, Centris 610 & 650, and an LC III.
  22.  
  23.  
  24. Things to consider/recommendations:
  25.  
  26. The ADBManager will not let you disable your keyboard if it has an ID of 2.  Anything else can be disabled, this includes mouses, joysticks, track balls, keypads, and all that can be connected to the desktop bus.
  27. From within the ADBManager application all buttons and commands can be executed with the keyboard. As long as the application is running any devices may be re-enabled. 
  28.  
  29. For system 6 users, if the application is not already selected, the ADBManager application might not be able to be re-launched to re-enable a device.  System 7 users can move around the Finder with key sequences and thus re-launch the ADBManager application.  Restarting the Macintosh will reset the desktop bus and enable all ADB devices.*
  30.  
  31. The ADBManager cannot recognize the difference between a joystick acting as a mouse and a real mouse, it might be difficult to find the mouse which is to be disabled.  If there is only one mouse on the bus it might show up with an ID of 3.
  32.  
  33. * This is not necessarily true if you installed the ADBInit.  See Saving ADB configuration  below for details.
  34.  
  35.  
  36. Installation:
  37.  
  38. There should be three files in the ADBManager distribution folder:
  39. • The ADBInit - Drag on top of your system folder, the Finder will know what to do with it.  The ADBInit does not have to be installed in order for the ADBManager to function.
  40. • The ADBManager - Application to configure the desktop bus.
  41. • This document - Keep this with the ADBManager application.
  42.  
  43.  
  44. The Menu bar:
  45.  
  46. The menu bar has two menus: the apple () menu and a File menu. The apple menu contains some brief information about the ADBManager such as author and copyright notes. The File menu contains four entries: ADBManager, Help, Save and Quit. The ADBManager item opens the ABDManager dialog box which lets you disable and re-enable ADB devices. The Help item shows you a help screen.  The Save item will let you save the current ADB configuration to a preference file. The Quit item quits the application.
  47.  
  48.  
  49. Menu commands and their windows:
  50.  
  51. - ADBManager dialog box:
  52. The ‘Type’ column shows the device type, the ‘guessed’ type is listed after it in parenthesis.  The type number is looked up in a ‘STR#’ resource table.
  53. The ‘ID’ column shows all the available ADB IDs. The ones initially in use have their check box checked.
  54.  
  55. The Reset button resets the entire desktop bus.  This will re-enable all devices which might have initially been disabled. You can also reset the bus by typing <ESC>.
  56.  
  57. The OK button will read all the check boxes, disable and enable the devices accordingly, and close the ADBManager dialog box. You can also type <return> or <enter> for the settings to take effect.
  58.  
  59. The Cancel button will close the ADBManager dialog box regardless of the settings of the check boxes. You can also cancel with <cmd - . > (hold down the command key and press ‘period’).
  60.  
  61. Each check box can be toggled by holding down the command key and typing the ID number or letter.  For example to un-check the box for a mouse on ID 3 type in <cmd - 3>, type <cmd - 3> again to check the check box.  This can also be accomplished by clicking on the check box itself.
  62.  
  63. Note: Changes won’t take affect until you press the OK button or type <return> or <enter>.
  64.  
  65. -The Help Window:
  66. The help window shows some limited help on how to operate the ADBManager.  The help window can be closed by typing <return>, <enter>, or clicking on the OK button.
  67.  
  68. - Saving ADB configuration:
  69. The ADB configuration can be saved to a preference file. This file will be located in the ‘Preferences’ folder inside your system folder (or the system folder if the ‘Preferences’ folder does not exist).  The ADBInit will use this file to configure the desktop bus when you boot your CPU. To temporarily disable the ADBInit hold down the <A> key as you boot.  You have three options for the extension: 
  70.  
  71. • Save the ADB configuration.
  72. • Show the extension icon on the bottom of the screen when booting.  The ADBInit icon will show if everything ran fine. 
  73. • Play a sound.  A pleasant sound will play if the extension ran successful, an unpleasant sound if the ADB configuration failed.
  74. The ADBInit will do nothing if it can’t find the preference file.
  75.  
  76. Note:  If you have installed the ADBInit, saved a preference file and you reboot your CPU to reset the desktop bus; hold down the <A> key to keep the ADBInit from running.
  77.  
  78.  
  79. The ADBInit:
  80.  
  81. The ADBInit can disable devices as the CPU is booted.  The preference file as described above will be used to determine what devices should be disabled. The ADBInit will not run if you hold down the <A> key when starting the CPU. The ADBInit will display three different icons as it launches and runs.
  82.  
  83.  
  84. Known devices:
  85.  
  86. The following table is a listing of device types that I know about. Feel free to inform me of other device types and I will add them to ADBManager’s database.
  87.  
  88.     Device:                                             Type number:
  89.     Extended keyboard (I and II)                  2
  90.     Desktop mouse                                         1
  91.     Apple Keyboard                                       8
  92.  
  93.  
  94. Credits:
  95.  
  96. The only code that is not completely my own is that of the ShowIcon7 code. ShowIcon7 allows the ADBInit to show it’s icon. From the source code:
  97.  
  98. “This code is based on Patrick C. Beard's ShowIconFamily by Patrick C. Beard, which in turn was derived from the original ShowInit by Paul Mercer, Darin Adler, Paul Snively, and Steve Capps.
  99. Modified by James W . Walker for compatibility with IconWrap 1.2 , for use as a separate code resource , and to use the new System 7 icon - drawing routines. This code is in the public domain.”
  100.  
  101. I modified the source code a little to compiled a library file and included it in my ADBManager project.  I’ll make the library and the PASCAL interface file available if there is demand for it.
  102.  
  103.  
  104. Version History:
  105.  
  106. Changes in numeric version means some kind of change in resources or code.  In the future, as more device ID numbers become known, each change will be indicated with a lower case letter.
  107. 1.0  - Full working version of the ADBManager application. Only a dialog box with check boxes for each device.
  108. 1.0.1  - A menu bar was added.  Completion of ADBInit and preferences file.  ‘Help’ window, ‘About’ window.  More debugging.
  109. 1.0.2  - Improvements in interface.  New ADBInit and ADBManager icons.  New ‘Help’ screen.  Decrease in size. Release to the public.
  110.  
  111.  
  112. Shareware stuff:
  113.  
  114. I will update this application as it becomes necessary or as I find or get reports of bugs.  Use this application AS IS. Due to my limited access to different types of Macintosh models (including high-end models) I cannot guarantee that this application isn’t flawless.  It’s been very stable on the machines I have tested this on. The application and the init have been running without problems on my IIci since December 1st, 1993 (Mac IIci, 8MB RAM, 80MB internal drive, System 7.1 with Hardware System Update 2.0.1).
  115.  
  116. This application is shareware. If you choose to keep the ADBManager for a period of more than two weeks please send me US$ 10 to the address below.
  117.  
  118. If you can’t afford $10 send me a postcard and tell me what you think and how you use the ADBManager.  Send suggestions and bug reports to the address above or electronically to kiberkli@sunspot.syr.edu.  Also - if you discover more ADB types - please tell me about them and I’ll add them to the applications internal data base.
  119.  
  120.     Klaus I. Berkling
  121.     7265 Wakefield Drive
  122.     Fayetteville, NY 13066
  123.     USA
  124.  
  125. • Distribution of the SOFTWARE (ADBManager application and ADBInit startup document) is granted to Internet FTP sites and other pubic access services (including user groups).
  126. • Distributing the SOFTWARE with a commercial, shareware or freeware product which uses the SOFTWARE as part of the product’s operation is prohibited without my written consent.
  127. • Distribution of the SOFTWARE is freely permitted to all other users.
  128. • Any distributor may not charge for the SOFTWARE other than a reasonable fee for transfer media or other electronic transmission.
  129.  
  130.  
  131. WARRANTIES:
  132.  
  133. IN NO EVENT SHALL I BE LIABLE FOR ANY DAMAGES WHATSOEVER ARISING OUT OF THE USE OR INABILITY TO USE THIS SOFTWARE, EVEN IF I HAVE BEEN ADVISED OF SUCH DAMAGES.
  134. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages, the above limitation may not apply to you.
  135.  
  136. Macintosh and the Apple logo is a registered trademark of Apple Computer Inc.
  137. Apple Desktop Bus is a trademark of Apple Computer Inc.
  138.  
  139. The application signature codes ‘ADBm’ and ‘ADBi’ are registered with Apple’s Developer Support Center.
  140. The file type code ‘ADBs’ is also registered with Apple’s Developer Support Center.
  141.